package com.hahaduo.bee.util;

import java.util.Collection;

public class CollectionUtils {

    /**
     * <p>
     * collectionはnullを判断する.
     * @param Collection collection
     * @return false：collection有り. true：collection.size=0、null
     */
    public static boolean isEmpty(Collection<?> collection) {

        return null == collection || collection.size() < 1;
    }

}
